package com.th.supcom.pds.common.client.model;

import com.extjs.gxt.ui.client.data.BaseModelData;
import com.google.gwt.user.client.rpc.IsSerializable;

public class OfficeModel extends BaseModelData implements IsSerializable
{
    /**
     * 公司版权信息.
     */
    public static final String copyright = "Copyright 2014, Carefx Corporation";

    /**
     * 提交路径.
     */
    public static final String SCC_BRANCH = "$URL$";

    /**
     * 提交日期.
     */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /**
     * 最终修改人员.
     */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /**
     * 最终版本号.
     */
    public static final String SCC_REVISION = "$Revision$";

    /**
     * add by Zli
     */
    private static final long serialVersionUID = 2279865580965022154L;

    public String getCode ()
    {
        return get ("code");
    }

    public String getName ()
    {
        return get ("name");
    }

    /**
     * 药房编码
     * 
     */
    public void setCode (final String code)
    {
        set ("code", code);
    }

    /**
     * 设置 药房名称.
     * 
     * @param name.
     */
    public void setName (final String name)
    {
        set ("name", name);
    }
}
